import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import VueSetupExtend from 'vite-plugin-vue-setup-extend'


export default defineConfig({
  plugins: [vue(), VueSetupExtend()],
  resolve: {
    alias: [{ find: '@', replacement: '/src' }]
  },
  server: {
    open: true,
    host: true,
    port: 20001
  }
})
